package com.aosan.website.common.security.annotation

import com.aosan.website.common.core.constant.SecurityConstant
import org.springframework.security.access.prepost.PreAuthorize

@Target(AnnotationTarget.CLASS,AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
@PreAuthorize("principal == '${SecurityConstant.SERVER_CLIENT}'")
annotation class InnerApi